/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$(document).ready(function () {
    $('.tab-control').parent().click(function () {
        $('.project_tab').each(function () {
            $(this).addClass('hide');
        });

        id = $(this).children('a').attr('data');
        $(id).removeClass('hide');

        $('.tab-control').each(function () {
            $(this).parent().removeClass('active');
        });

        $(this).addClass('active');
    });

    $("#slide-project").jCarouselLite({
        btnNext: ".prevs",
        btnPrev: ".nexts",
        visible: 5,
        auto: 2000,
        speed: 1000
    });
});
